vtpm: Upgrade to using tpm_emulator-0.5.1
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 24 Aug 2009 07:08:52 +0000 (08:08 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 24 Aug 2009 07:08:52 +0000 (08:08 +0100)
commitb0ae5f8bd10e16c1aa3dafed8534905bb7ba33bf
tree59a89241bfe79e8c32e64c63a6f4a2ec1eee9e97
parent2ac9ced4cb04af24b3448a245c7da87972876069
vtpm: Upgrade to using tpm_emulator-0.5.1

The newer version of the emulator contains several bug fixes, one that
we were seeing in our use of vtpm.

This patch also defines TPM_STRONG_PERSISTENCE for the new emulator.

A couple of important notes about this patch:
-This has only been tested on PVM domU's. In theory it should work for
HVM but I have not tried it at all and can guarantee nothing.
-All the relevant changes in tools/vtpm/vtpm.patch have been ported
to tpm_emulator-0.5.1.
-None of the changes in tpm_emulator.patch have been ported. In
particular this means the BUILD_EMULATOR option, which as I understand
lets you use the tpm_emulator in dom0 for a machine that does
not have a real hardware TPM does not work. This functionality should
be easy to add though because the new emulator already comes with a
kernel module interface.
-No considerations were made for the VTPM_MULTI_VM feature (which is
supposedly unfinished). This patch may or may not break any progress
made on that feature.

Signed-off-by: Matt Fioravante <Matthew.Fioravante@jhuapl.edu>
tools/vtpm/Makefile
tools/vtpm/vtpm-0.5.1.patch [new file with mode: 0644]